import BaseService from './_BaseService'

class EmWarehouseService extends BaseService {
  root = window.apiPath + '/em-warehouses'

  search (page, query, pageSize) {
    return super.ps(page, query, pageSize).then(res => {
      return res
    })
  }

  searchAll = super.search
}

export default new EmWarehouseService()
